In the above link project details is perfectly correct. but in that code i want some changes like . we add the combo box to the treeview . which node is selected in the treeview that node will be displaying to the combo box .
treeview control add with combobox
6609 12-Mar-2013
In the above link project details is perfectly correct. but in that code i want some changes like . we add the combo box to the treeview . which node is selected in the treeview that node will be displaying to the combo box .
AVADHESH PATEL
12-Mar-2013Hi K V Sunil!
If you want to populate data into combo box on node selection or on node click, then used _NodeMouseClick event of tree view as below
private void treeView1_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
{
cmbNode.Items.Add(e.Node.Text);
}
I hope it resolve your problem